<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<h1>登录界面</h1>
<form th:action="@{/user/login}" method="post">
    用户名:<input type="text" name="username" > <br/>
    密码  : <input type="text" name="password"> <br>
    请输入验证码: <input type="text" name="code"><img th:src="@{/user/getImage}" alt=""><br>
    <input type="submit" value="登录">
</form>
<a th:href="@{/user/registerView}">跳转到注册页面</a>
</body>
</html>